////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                            //
//                                                         WNProject                                                          //
//                                                                                                                            //
//            This file is distributed under the BSD 2-Clause open source license. See License.txt for details.               //
//                                                                                                                            //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef __WN_WINDOWS_IN_CONNECTION_H__
#define __WN_WINDOWS_IN_CONNECTION_H__
#include "WNNetworking/inc/WNWindowsConnection.h"
#include "WNNetworking/inc/WNNetworkManager.h"
#include "WNCore/inc/WNTypes.h"

namespace WNNetworking {
    class WNWindowsINConnection : public WNWindowsConnection {
    public:
        WNWindowsINConnection(WNNetworkManager& _manager);
        virtual ~WNWindowsINConnection ();
        WNNetworking::WNNetworkingError Initialize(SOCKET _listenSocket, WNConnectedCallback _callback);
        WN_BOOL FireCallback();
    private:
        WNConnectedCallback mCallback;
    };
};

#endif//__WN_WINDOWS_IN_CONNECTION_H__